//
//  APIConst.m
//  minidai
//
//  Created by Steven.Yung on 2017/5/4.
//  Copyright © 2017年 迷你金服. All rights reserved.
//

#import "APIConst.h"

@implementation APIConst

//#if defined (DEBUG)

//测试
NSString *const API_BASE_URL = @"http://test.miniwangdai.com/";
//NSString *const API_BASE_URL = @"http://uatmnd.miniwangdai.com/";
//NSString *const API_BASE_URL = @"https://m.miniwangdai.com/";



/*! 网页主地址 */
//NSString *const WebBaseURL = @"https://m.miniwangdai.com/touzimobile/#/";
NSString *const WebBaseURL = @"http://test.miniwangdai.com/touzimobile/#/";

/*! 请求网页的主地址 */
//NSString *const BroswerHeadURL = @"https://m.miniwangdai.com/lapp/browser/visit?url=";
NSString *const BroswerHeadURL = @"http://test.miniwangdai.com/lapp/browser/visit?url=";

//#else
//NSString *const API_BASE_URL = @"http://m.miniwangdai.com/tz_app/";
//#endif

NSString *const API_GET_APPKEY = @"lapp/member/get_appkey";

NSString *const API_REGISTER = @"lapp/member/register";

NSString *const API_USER_LOGIN = @"lapp/member/user_login";

/*! 退出登录 */
NSString *const API_USER_LOGOUT = @"lapp/member/login_out";

/*! 忘记密码 */
NSString *const API_LOGIN_PASSWORD_FORGOT = @"lapp/member/forget_login_password";

//首页数据
NSString *const API_HOME_DATA = @"lapp/welcome/get_surplus_money";
//投资列表
NSString *const API_FINANCE_LIST = @"lapp/manage_money/manage_list";
//首页消息列表
NSString *const API_NOTICE_LIST = @"lapp/welcome/notice_list";
//用户消息
NSString *const API_ACOUNT_MSG_LIST = @"lapp/msg/list_data";
/*! 消息设置已读 */
NSString *const API_MESSAGE_READ = @"lapp/msg/read";
//投资详情
NSString *const API_FINANCE_DETAIL = @"lapp/manage_money/borrow_info";
//轮播图welcome/carousel_img
NSString *const API_HOME_PICTURE = @"lapp/welcome/carousel_img";
//蜜柚社区等级积分
NSString *const API_POMELCIRCLE_LEVEL = @"lapp/munity/get_bbs_userinfo";

//首页个人信息
NSString *const API_HOME_MYINFO = @"lapp/welcome/get_month_profit";
//可用与投标与确认投标user_activity/tender
NSString *const API_INVEST = @"lapp/user_activity/tender";
//获取债权信息
NSString *const API_CREDITOR = @"lapp/user_activity/transfer";
//购买债权
NSString *const API_BUY_CREDITOR = @"lapp/user_activity/submit_transfer";
//加息券列表
NSString *const API_DISCOUNT_LIST = @"lapp/coupon/list_data";
//激活加息券
NSString *const API_OBTAIN_DISCOUNT = @"lapp/coupon/activation";
//债权转让
NSString *const API_CREDITOR_LIST = @"lapp/manage_money/creditor_list";

//自动投标提示文字
NSString *const API_AUTO_TENDER_TIPS = @"lapp/auto_tender/describe";
//自动投标排名数据获取
NSString *const API_AUTO_TENDER_RANKING = @"lapp/auto_tender/forecast_tender_ranking";
//自动投标设置
NSString *const API_AUTO_TENDER_AUTO_SET = @"lapp/auto_tender/auto_set";
//自动投标开启
NSString *const API_AUTO_TENDER_OPEN = @"lapp/auto_tender/open";
//自动投标授权-不需参数
NSString *const API_AUTO_TENDER_AUTHORIZATION = @"lapp/account/sign_auto_tender";
//自动投标关闭
NSString *const API_AUTO_TENDER_CLOSE = @"lapp/auto_tender/close";
//自动投标状态检查
NSString *const API_AUTO_TENDER_CHECK = @"lapp/auto_tender/auto_check";
//债权转让列表（转让中，转让结束）
NSString *const API_TENDER_TRANSFER_LIST = @"lapp/ucenter_tender/user_transfer_object_status";
//债权转让列表（可转让）
NSString *const API_ALLOW_TENDER_TRANSFER_LIST = @"lapp/ucenter_tender/get_tender_allow_transfer_list";
// 用户债权转让投资详细(转让中、转让结束)
NSString *const API_TENDER_TRANSFER_DETAIL = @"lapp/ucenter_tender/user_transfer_detail";
// 用户债权撤销
NSString *const API_TENDER_TRANSFER_CANCEL = @"lapp/ucenter_tender/cancel";
//缴费授权，自动投标授权、债转授权三合一
NSString *const API_TERMS_AUTH = @"lapp/account/terms_auth";

//邀请好友列表
NSString *const API_INVEST_FRIENDS_LIST = @"lapp/invite/list_data";
//用户邀请统计
NSString *const API_INVEST_COUNT = @"lapp/invite/count";
//用户积分历史
NSString *const API_HISTORY_LIST_SCORE = @"lapp/munity/user_history_list_score";
//用户积分兑换列表
NSString *const API_EXCHANGE_LIST_SCORE = @"lapp/munity/user_exchange_list_score";
//用户积分兑换
NSString *const API_EXCHANGE_SCORE = @"lapp/munity/user_exchange_score";
//用户社区签到
NSString *const API_BBS_PLACE = @"lapp/munity/user_bbs_place";
/*! 发送手机验证码 */
NSString *const API_SEND_PHONE_CAPTCHA = @"lapp/member/send_phone_captcha";
/*! 发送手机验证码(找回密码专用) */
NSString *const API_FORGOT_SEND_PHONE_CAPTCHA = @"lapp/password/send_phone_captcha";
/*! 注册发送验证码 */
NSString *const API_REGISTER_SEND_PHONE_CAPTCHA = @"lapp/member/register_send_phone_captcha";

//头像上传
NSString *const API_ICON_IMAGE = @"https://bbs.miniwangdai.com/app/minidai_app/update_user_face";


/*! 修改手机号发送验证码 */
NSString *const API_SEND_OLD_PHONE_CAPTCHA = @"lapp/phone/send_old_phone_captcha";

/*! 修改手机号验证码验证 */
NSString *const API_PHONE_VERIFY = @"lapp/phone/phone_verify";

/*! 新手机认证发送验证码 */
NSString *const API_SEND_NEW_PHONE_CAPTCHA = @"lapp/phone/send_new_phone_captcha";

/*! 修改手机号 */
NSString *const API_PHONE_UPDATE = @"lapp/phone/phone_update";

/*! 添加邮箱 */
NSString *const API_ADD_EMAIL = @"lapp/email/add_email";
/*! 修改邮箱 */
NSString *const API_UPDATE_EMAIL = @"lapp/email/update_email";

/*! 修改登录密码 */
NSString *const API_LODIN_PASSWORD_UPDATE = @"lapp/member/update_login_password";

NSString *const API_USER_BASE_INFO = @"lapp/my/basic_info";

NSString *const API_USER_ASSET_LIST = @"lapp/ucenter_asset/user_asset_list";

NSString *const API_FORECAST_TENDER_RANKING = @"lapp/auto_tender/forecast_tender_ranking";

NSString *const API_MONTH_PROFIT = @"lapp/welcome/get_month_profit";

//NSString *const API_USER_DETAIL_INFO = @"coupon/list_data";
/*! 检测用户是否开通存管 */
NSString *const API_CHECK_DEPOSIT = @"lapp/my/cheack_jx";
/*! 用户详细信息 */
//UIKIT_EXTERN NSString *const API_USER_DETAIL_INFO;

/*! 旧系统自动投标参数 */
NSString *const API_GET_AUTO_TENDER_INFO = @"lapp/account/get_old_auto_tender";

/*! 资金存管开户发送验证码 */
NSString *const API_DEPOSIT_SEND_CAPTCHA = @"lapp/account/send_phone_captcha";

/*! 资金存管获取手机号 */
NSString *const API_DEPOSIT_GET_PHONE = @"lapp/bank/get_reg_phone";

/*! 资金存管用户实名认证 */
NSString *const API_DEPOSIT_REAL_AUTH = @"lapp/account/verify";

/*! 开通江西银行存管 */
NSString *const API_DEPOSIT_OPEN = @"lapp/account/open_account";

/*! 资金存管设置交易密码 */
NSString *const API_DEPOSIT_SET_PASSWORD = @"lapp/account/reset_pwd";

/*! 资金存管重置交易密码 */
NSString *const API_DEPOSIT_RESET_PASSWORD = @"lapp/account/reset_pwd";

/*! 资金存管设置缴费授权 */
NSString *const API_DEPOSIT_SET_PAYMENT = @"lapp/account/payment_auth";

/*! 资金存管自动投标授权 */
NSString *const API_DEPOSIT_AUTO_TENDER_GRANT = @"lapp/account/auto_tender_apply";

/*! 资金存管债权转让授权 */
NSString *const API_DEPOSIT_TRANSACTION_GRANT = @"lapp/account/sign_auto_transfer";

/*! 资金存管用户开户资料信息 */
NSString *const API_DEPOSIT_BANK_INFO = @"lapp/bank/get_bank_account";

/*! 绑定银行卡 */
NSString *const API_BIND_BANKCAR = @"lapp/bank/add_bank";

/*! 解绑银行卡 */
NSString *const API_UNBIND_BANKCAR = @"lapp/bank/unbindcard";

/*! 获取存管开户资料 */
NSString *const API_GET_BANK_ACCOUNT = @"lapp/bank/get_account_info";

/*! 充值 */
NSString *const API_USER_RECHARGE = @"lapp/recharge/user_recharge";

/*! 更新账户余额 */
NSString *const API_UPDATE_USER_BALANCE = @"lapp/my/update_account";

/*! 提现 */
NSString *const API_USER_WITHDRAW = @"lapp/withdraw/user_withdraw";

/*! 获取提现参数 */
NSString *const API_GET_WITHDRAW_PARAM = @"lapp/withdraw/get_withdraw_param";

/*! USER_CODE加密 */
NSString *const API_ENCODE_USERCODE = @"lapp/member/encode";

/*! 投资列表金额统计 */
NSString *const API_USER_TENDER_COUNT = @"lapp/ucenter_tender/user_tender_count";

/*! 用户投资列表 */
NSString *const API_USER_TENDER_LIST = @"lapp/ucenter_tender/user_tender_object_status";

/*! 用户投资详细 */
NSString *const API_USER_TENDER_DETAIL = @"lapp/ucenter_tender/user_tender_detail";

/*! 用户债权转让列表 */
NSString *const API_USER_TRANSFER_LIST = @"lapp/ucenter_tender/user_transfer_object_status";

/*! 用户债权转让投资详细 */
NSString *const API_USER_TRANSFER_DETAIL = @"lapp/ucenter_tender/user_transfer_detail";

/*! 用户投资回款明细/搜索 */
NSString *const API_USER_TENDER_INCOME_LIST = @"lapp/ucenter_tender/user_income_list_search";

/*! 债权转让 */
NSString *const API_CREDITOR_TRANSFER = @"lapp/ucenter_tender/user_creditor_transfer";

/*! 债权转让协议 */
NSString *const API_CREDITOR_TRANSFER_PRO = @"lapp/ucenter_tender/tender_transfer_pact";

/*! 用户回款列表 */
NSString *const API_USER_RETURN_LIST = @"lapp/return/user_return_list";

/*! 用户资产分析 */
NSString *const API_USER_ASSET = @"lapp/ucenter_asset/user_asset_list";

/*! 用户账单 */
//NSString *API_USER_TRANSACTION_LIST = @"lapp/ucenter_asset/user_transaction_list";

/*! 用户账单（更改） */
NSString *const API_USER_TRANSACTION_LIST = @"lapp/ucenter_asset/user_transaction_new_list";

/*! 账单统计 */
NSString *const API_USER_TRANSACTION_COUNT = @"lapp/ucenter_asset/user_transaction_count";

/*! 月账单 */
NSString *const API_USER_MONTH_TRANSACTION_COUNT = @"lapp/ucenter_asset/user_transaction_year_list";

/*! 投资协议 */
NSString *const API_TENDER_PROTOCOL = @"lapp/user_activity/push_tender_args";

/*! 债转协议 */
NSString *const API_TRANSFER_PROTOCOL = @"lapp/user_activity/push_transfer_args";

/*! 获取分享链接 */
NSString *const API_USER_SHARE = @"lapp/munity/user_share";

/*! 检测用户是否绑定宝付快捷支付银行卡 */
NSString *const API_BAOFU_CHECK_BANK = @"lapp/recharge/cheack_user_baofu_bank";

/*! 宝付快捷支付银行卡列表 */
NSString *const API_BAOFU_BANK_LIST = @"lapp/recharge/recharge_bank_list";

/*! 添加宝付快捷支付银行卡 */
NSString *const API_BAOFU_ADD_BANKCARD = @"lapp/recharge/add_baofu_bank";

/*! 宝付快捷支付充值 */
NSString *const API_BAOFU_RECHARGE = @"lapp/recharge/baofu_user_recharge";

/*! 解绑宝付银行卡 */
NSString *const API_BAOFU_UNBIND_BANKCARD = @"lapp/recharge/unbind_card";

/*! 回款日历 */
NSString *const API_RETURN_CALENDAR = @"lapp/return/calendar";

/*! 更新资产 */
NSString *const API_UPDATE_ASSET = @"lapp/my/update_jxaccount";

/*! 修改用户名 */
NSString *const API_MODIFY_USER_NAME = @"lapp/member/update_username";

/*! 短信充值金额验证 */
NSString *const API_RECHARGE_MONEY_VERIFY = @"lapp/recharge/recharge_money_verify";
/*! 短信充值发送验证码 */
NSString *const API_RECHARGE_SEND_CAPTCHA = @"lapp/recharge/recharge_send_msgcode";
/*! 短信充值申请提交 */
NSString *const API_RECHARGE_SUBMIT = @"lapp/recharge/recharge_submit";
/*! 充值 */
NSString *const API_RECHARGE_MONEY = @"lapp/recharge/recharge_message";
/*! 发送银行卡绑定验证码 */
NSString *const API_BIND_CARD_SEND_CAPTCHA = @"lapp/bank/sendcode_cardbind";
/*! 修改存管手机号 */
NSString *const API_DEPOSIT_PHONE_UPDATE = @"lapp/phone/bank_phone_update";

/*! 更新检测 */
NSString *const API_APP_VERSION_UPDATE = @"lapp/client/get_version";

/*! 存管信息 */
NSString *const API_GET_DEPOSIT_INFO = @"lapp/account/perfect_user_info";

/*! 充值提示 */
NSString *const API_RECHARGE_NOTES_INFO = @"lapp/recharge/reminder";

/*! 授权说明 */
NSString *const API_SIGN_INTRODUCTION = @"lapp/account/sign_introductions";

/*! 绑定银行卡 */
NSString *const API_BINDING_BANKCARD = @"lapp/bank/bindcard_page";

/*! 网银转账 */
NSString *const API_BANK_TRANSFER = @"lapp/recharge/recharge_transfer";

/**** 迷你金服小工具 ****/

/*! 获取车型列表 */
NSString *const API_CAR_MODEL = API_TOOL_URL@"car/getModel";

/*! 获取省份简称 */
NSString *const API_PROVINCE_VIOLATIONS = API_TOOL_URL@"violations/area_and_carinfo";

/*! 获取城市列表文件 */
NSString *const API_AREA_FILE = API_TOOL_URL@"/car/get_area_file";
/*! 获取车型列表文件 */
NSString *const API_CAR_TYPE_FILE = API_TOOL_URL@"car/get_carlist_file";

/*! 获取估值历史记录 */
NSString *const API_CAR_ASSESS_RECORD = API_TOOL_URL@"car/getBasepriceRecord";
/*! 估值 */
NSString *const API_CAR_ASSESS = API_TOOL_URL@"index.html";

/*! 获取违章历史记录 */
NSString *const API_TRAFFICPECCANCY_HISTORY = API_TOOL_URL@"violations/get_break_rule_record";
/*! 扫描行驶证 */
NSString *const API_SCAN_VIN = API_TOOL_URL@"car/ident_car_vin";
/*! 违章查询 */
NSString *const API_QUERY_BREAK_RULES = API_TOOL_URL@"violations/car_query_the_break_rules";
/*! 开启或关闭违章提醒 */
NSString *const API_OPEN_OR_CLOSE_BREAK_RULES = API_TOOL_URL@"violations/traffic_tips_is_open";

/**** 新增自助投 ****/
/*! 自助投列表 */
NSString *const API_AUTO_PLUS_LIST = @"lapp/user_activity/tender_plan_list";
/*! 自助投详情 */
NSString *const API_AUTO_PLUS_DETAIL = @"lapp/user_activity/tender_plan_detail";
/*! 自助投投标 */
NSString *const API_AUTO_PLUS_INVEST = @"lapp/user_activity/tender_plan";
/*! 常见问题 */
NSString *const API_AUTO_PLUS_PROBLEM = @"lapp/user_activity/tender_plan_question";
/*! 自助投出借记录 */
NSString *const API_AUTO_PLUS_BORROW_RECORD = @"lapp/user_activity/user_tender_plan_list";
/*! 自助投出借记录详情 */
NSString *const API_AUTO_PLUS_BORROW_DETAIL = @"lapp/user_activity/user_tender_plan_detail";
/*! 自助投出借项目列表 */
NSString *const API_AUTO_PLUS_BORROW_PROJECT = @"lapp/user_activity/user_tender_plan_tender";
/*! 自助投金额统计 */
NSString *const API_AUTO_PLUS_MONEY_STATISTICS = @"lapp/user_activity/tender_plan_count";
/*! 自助投已赚收益*/
NSString *const API_AUTO_PLUS_EARN_MONEY = @"lapp/user_activity/user_tender_plan_return";
/*! 出借记录自助投与散标数据*/
NSString *const API_BORROW_RECORD_DATA = @"lapp/user_activity/tender_plan_index";
/*! 自助投授权书带签章*/
NSString *const API_AUTO_PLUS_PROTOCOL = @"lapp/user_activity/tender_plan_args";
/*! 自助投退出*/
NSString *const API_AUTO_PLUS_EXIT = @"lapp/user_activity/tender_plan_quit";

/*! 微信登录 */
NSString *const API_WECHAT_LOGIN = @"lapp/member/weixin_record";
/*! 微信绑定 */
NSString *const API_WECHAT_BIND = @"lapp/member/weixin_phone_captcha";
/*! 微信注册 */
NSString *const API_WECHAT_REGIST = @"lapp/member/weixin_register";
/*! 获取版本更新信息 */
NSString *const API_GET_VERSION_INFO = @"lapp/client/get_version";

/*! 展期协议 */
NSString *const API_EXTENSION_PROTOCOL_DETAIL = @"lapp/user_activity/lender_postpone_args";
/*! 5.1.2版本我的邀请 */
NSString *const API_NEW_MY_INVITE = @"lapp/invite/my";
/*! 5.1.2版本撮合奖励详情 */
NSString *const API_MAKE_REWARD_DETAIL = @"lapp/invite/reward_detail";

@end
